package drafts

import "time"

type DraftsLogsErrorModel struct {
	Id          int       `json:"id" gorm:"type:int(11) auto_increment; NOT NULL; primary_key"`
	DraftsLogId int       `json:"drafts_log_id" gorm:"type:int(11); COMMENT:'草稿箱id'"`
	ErrorMsg    string    `json:"error_msg" gorm:"type:text; COMMENT:'错误信息'"`
	CreatedAt   time.Time `json:"created_at" gorm:"type:timestamp"`
	UpdatedAt   time.Time `json:"updated_at" gorm:"type:timestamp"`
}

func (DraftsLogsErrorModel) TableName() string {
	return "drafts_logs_error"
}
